package com.tl.satoken.domain.entity;

import lombok.Data;
import java.io.Serializable;

@Data
public class Player implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String username;
    private String status;
    private Position position;
    private String roomId;
    private String sessionId;
    private transient io.netty.channel.ChannelHandlerContext channel;

    public Player(final String id, final String username, final String status, final Position position, final String roomId) {
        this.id = id;
        this.username = username;
        this.status = status;
        this.position = position;
        this.roomId = roomId;
    }

    public Player() {
    }
}

